import request from '/@/utils/request';
export function dicApi(){
    return {
        getDicList:(params:object)=>{
            return request({
                url: '/api/admin/basic/monitorPoles',
                method: 'get',
                params,
            });
        },
        addDic:(data:object)=>{
            return request({
                url: '/api/admin/basic/monitorPole',
                method: 'post',
                data,
            });
        },
        editDic:(data:object)=>{
            return request({
                url: '/api/admin/basic/monitorPole',
                method: 'put',
                data,
            });
        },
        delDic:(data:object)=>{
            return request({
                url: '/api/admin/basic/monitorPole',
                method: 'delete',
                data,
            });
        },
    }
}